﻿namespace RL
{
    using System;
    using System.ComponentModel.Design;
    using System.Security.Permissions;
    using System.Web.UI.Design;

    [PermissionSet(SecurityAction.Demand, Name="FullTrust")]
    public class AjaxPlaceHolderDesigner : ControlDesigner
    {
        private DesignerActionListCollection actionLists;

        public override string GetDesignTimeHtml()
        {
            return base.CreatePlaceHolderDesignTimeHtml();
        }

        private void SayHellow(object sender, EventArgs e)
        {
        }

        public override DesignerActionListCollection ActionLists
        {
            get
            {
                if (null == this.actionLists)
                {
                    this.actionLists = new DesignerActionListCollection();
                    this.actionLists.Add(new AjaxPlaceHolderDesignerActionList(base.Component));
                }
                return this.actionLists;
            }
        }

        public override DesignerVerbCollection Verbs
        {
            get
            {
                return new DesignerVerbCollection(new DesignerVerb[0]);
            }
        }
    }
}

